package day10.afternoontest;

/**
 * 电话类
 */
public class Phone {
    private String letter;
    private String call;
    public Phone(){

    }
    public Phone(String letter,String call){
        this.letter = letter;
        this.call = call;
    }
    public void function(){
        
        System.out.println("手机能"+ this.letter + "和" +this.call);
    }
    public String getLetter(){
        return letter;
    }
    public void setLetter(String letter){
        this.letter = letter;
    }
    public String getCall(){
        return call;
    }
    public void setCall(String call){
        this.call = call;
    }
}
